package main.java.design.facade;

/**
 * <p></p>
 *
 * @author : wangdejian
 * @version 1.0
 * @date : 2020/6/14 10:51
 */
public class VIPFacade {

    private CardPhysician cardPhysician;
    private Register register;
    private Triage triage;

    public VIPFacade() {
        cardPhysician = new CardPhysician();
        register = new Register();
        triage = new Triage();
    }

    public void vipService(String pcp) {
        cardPhysician.cardPhysician(pcp);
        register.register();
        triage.triage();
    };

}


